<%@ Page Language="C#" AutoEventWireup="true" CodeFile="ShopTemplateList.aspx.cs" Inherits="admin_Templates_ShopTemplateList" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>商铺模板管理</title>
<link rel="stylesheet" href="../skin/style.css" type="text/css" />
<script type="text/javascript" src="../../js/jquery.js"></script>
</head>
<body>
    <form id="form1" runat="server">
	<div class="itemtitle">
            <h3>
                操作提示</h3>
        </div>
        <div class="itemtitle_tect">
            <ul>
                <li>请选择须要修改的会员商铺模板。</li>
            </ul>
        </div>
        <div class="clr"></div>
    <div class="talbe_border">
            <asp:Table ID="TblDirList" runat="server" CellPadding="0" CellSpacing="0" CssClass="talbe_list">
        </asp:Table>
        <asp:Label ID="errMessage" runat="server" Visible="false"></asp:Label>
    </div>
    </form>
</body>

</html>
    <script type="text/ecmascript">
         function $(id){return document.getElementById(id)}   
        $("chkAll").onclick= function SelectAll()
        {
            // 找到所有的 input 元素
            var ctllist =document.getElementsByTagName("input");
            var objcheckbox= document.getElementById("chkAll");             
            for( var i = 0; i< ctllist.length; i++)
            {
                if( ctllist[i].type == "checkbox")
                {
                    if(objcheckbox.checked==true){      
                        ctllist[i].checked = true;
                    } else{
                        ctllist[i].checked = false;
                    }
                }           
             }           
         }

    </script>